package com.lzx.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Admin)实体类
 *
 * @author makejava
 * @since 2021-03-03 14:41:20
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class Admin implements Serializable {
    private static final long serialVersionUID = 962515595941933788L;

    private Integer id;

    private String email;

    private String password;

    private String name;

    private String username;

    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    private String tel;

    @TableField(fill = FieldFill.INSERT)
    private Boolean status;

    private Integer addressId;


}
